import React, { Component } from 'react'
import {Link} from 'react-router-dom'

import styles from './scss/noAuth.scss'

import Icon from 'antd/lib/icon'
import Button from 'antd/lib/button'

class Box extends Component {
    render() {
        return (
            <div>
                <div className={styles.container}>
                    <Icon className={styles['lock-icon']} type="lock" />
                    <div className={styles["text-box"]}>
                        <span className={styles['noAuth-text']}>抱歉，该账户没有权限，请联系管理员为您添加权限</span>
                        <Button type="primary" className={styles['back-btn']}>
                            <Link to="/login">返回登陆页</Link>
                        </Button>
                    </div>
                </div>
            </div>
        )
    }
}

export default Box